<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>HiAll Administrator's Control Panel</title>
        <link rel="stylesheet" href="css/common.css" type="text/css" media="all" />
    </head>
    <body>
        <div id="append"></div>
        <div class="container">
                <h2 class="admintitle">简历状态激活</h2>

                <? if($state){?>
                
                <div id="srchuserdiv" class="tabcontentcur" style="width:90%;position:relative">
		     <form method="POST" action="index.php?c=StateActive&a=Save"> 
                    <table  class="datalist fixwidth">
						<tbody><tr>
							<th nowrap="nowrap"></th>
							<th nowrap="nowrap">简历状态</th>
						</tr>
						<tr>
                            <?php 
			    	foreach($state as $sid=>$sname){
					if($sid > 1){
						$check_state = '';
						if(in_array($sid,$state_arr)){
							$check_state = 'checked';
						}
                             ?>
								<td width="20"><input type="checkbox" name="state[]" value="<?=$sid?>" <?=$check_state?> /></td>
								<td width="300"><?=$sname?></td>
							<?php
							}
							if($sid % 8 == 0){
								echo "</tr><tr>";
							}
							}
							?>
						</tr>
						<tr><td colspan="2"><input type="submit" value="保存" /></td></tr>
					</tbody></table>
			</form>
            </div>
            <?}else{?>
            <div class="mainbox">
                <div class="note">
                    <p class="i">目前没有相关数据!</p>
                </div>
            </div>
            <?php
                }
            ?>
        </div>


    </body>
</html>
